<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<s:head theme="ajax"/>


</head>
<body>
<font style="font-family: 돋움">
<center>
	<s:if test="type==1">
	<h1><b>일일 업무일지</b></h1>
	</s:if>
	<s:if test="type==2">
	<h1><b>주간 업무일지</b></h1>
	</s:if>
	<s:if test="type==3">
	<h1><b>월간 업무일지</b></h1>
	</s:if>
	<table border=0 cellpadding="0" cellspacing="0" width=700 height=480>
	
		<tr><td colspan=4 bgcolor="rgb(91,140,217)" height=2></td></tr>
		
		<tr align="center" height="20">
			
			<td width=400>제목</td>
			<td width=100>보낸이</td>
			<td width=200>수신일</td>
		</tr>
		<tr><td colspan=4 bgcolor="rgb(91,140,217)" height=2></td></tr>
		<s:iterator value="list">
		<tr height=10 onmouseover="this.style.backgroundColor='#eaf0fa'"  onmouseout="this.style.backgroundColor=''"> 
		
		
			<td align=left><s:a href="/ssteam/worksheet/content.do?no=%{#request['no']}" theme="ajax" targets="outcenter">${subject }</s:a></td>
			<td>${name }</td>
			<td><s:date name="writeday" format="MM월 dd일 : hh시 mm분 ss초"/></td>
		</tr>
		<tr><td colspan=4 height=1 bgcolor=#dadada></td></tr>
	</s:iterator>
	<tr>
		<td colspan=4>
		<hr width=100%>
		</td>
	</tr>
	    <!--<s:textfield value="%{#session.user.sabun}"></s:textfield>-->
      <!--    <input type="text" value="${session.user.sabun}"> -->
	</table>
	
	</center>
	<font style="font-family: 돋움">
</body>
</html>